<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>团购</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
	</head>
	<body>
		<div class="web">
			<!--头-->
			<header>
				<div class="logo">
					<img src="img/logo.jpg"/>
				</div>
				
				<div class="selecBar">
					<select name="">
						<option value="广州市">广州市</option>
					</select>
				</div>
				
				<div class="searchBar">
					<input type="search" name="sousuo" id="sousuo" value="" placeholder="请输入商品名称"/>
					<i class="iconfont icon-fangdajing"></i>
				</div>
			</header>
			<!--主体-->
			<section>
				<!--轮播图-->
				<div class="carou">
					<!--<img src="img/banner.jpg"/>-->
					<div class="slideshow-image" style="background-image: url('img/banner.jpg')"></div>
					<div class="slideshow-image" style="background-image: url('img/banner.jpg')"></div>
					<div class="slideshow-image" style="background-image: url('img/banner.jpg')"></div>
					<div class="slideshow-image" style="background-image: url('img/banner.jpg')"></div>
				</div>
				<!--优惠团购-->
				<div class="biao_ti clearfix">
					<div class="left_bt fl">
						<img src="img/hai_xing.jpg"/>
						<span>优惠团购</span>
					</div>
					
					<div class="right_more fr">
						<span><a href="detail.html">更多</a></span>
						<i class="iconfont icon-you"></i>
					</div>
				</div>
				<div class="you_hui clearfix">
					<ul>
						<li class="pic_1">
							<a href="" class="fl"><img src="img/pictrue_1.jpg"/></a>
							<a href="" class="fr"><img src="img/pictrue_2.jpg"/></a>
						</li>
						<li>
							<a href="" class="fl"><img src="img/pictrue_3.jpg"/></a>
							<a href="" class="fr"><img src="img/pictrue_4.jpg"/></a>
						</li>
					</ul>
				</div>
				<!--猜你喜欢-->
				<div class="biao_ti clearfix">
					<div class="left_bt fl love">
						<img src="img/love.jpg"/>
						<span>猜你喜欢</span>
					</div>
					
					<div class="right_more fr">
						<span>更多</span>
						<i class="iconfont icon-you"></i>
					</div>
				</div>
				
				<div class="menu">
					<div class="picture clearfix">
						<a href=""><img src="img/pictrue_5.jpg" class="fl"/></a>
						<ul class="menu_ul fl">
							<li><span>万岁寿司 (正佳店)</span><span class="fr ju_li"><100m</span></li>
							<li><span>[100店通用] 双人套餐</span></li>
							<li><span>￥88.00</span><span class="fr shu_liang">已售1000</span></li>
						</ul>
					</div>
					<div class="picture clearfix">
						<a href=""><img src="img/pictrue_6.jpg" class="fl"/></a>
						<ul class="menu_ul fl">
							<li><span>周黑鸭 (正佳店)</span><span class="fr ju_li"><100m</span></li>
							<li><span>[100店通用] 双人套餐</span></li>
							<li><span>￥88.00</span><span class="fr shu_liang">已售1000</span></li>
						</ul>
					</div>
					<div class="picture clearfix">
						<a href=""><img src="img/pictrue_5.jpg" class="fl"/></a>
						<ul class="menu_ul fl">
							<li><span>万岁寿司 (正佳店)</span><span class="fr ju_li"><100m</span></li>
							<li><span>[100店通用] 双人套餐</span></li>
							<li><span>￥88.00</span><span class="fr shu_liang">已售1000</span></li>
						</ul>
					</div>
				</div>
			</section>
			<!--尾-->
			<footer>
				<ul>
					<li><a href="index.html">
							<i class="iconfont icon-noun28593cc active"></i>
							<p>首页</p>
						</a></li>
					<li><a href="fenlei.html">
							<i class="iconfont icon-fl"></i>
							<p>分类</p>
						</a></li>
					<li><a href="find.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a></li>
					<li><a href="my.html">
							<i class="iconfont icon-ren"></i>
							<p>我的</p>
						</a></li>
				</ul>
			</footer>
		</div>
		
		
		
		<script>document.body.style.height  = window.innerHeight+"px";</script>
	</body>
	<script type="text/javascript">
		/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
				//字体大小=1个rem单位表示多少个像素*(设备的宽度/设计宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();

	</script>
</html>
